package com.bbcare.department.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: dept_randoutpatient_schedule 实体类
 * @author: DemonLee
 * @createTime: 2017.5.18
 * @description: 科室随访排班表
 * @modify:
 * 
 */

@Entity
public class RandOutPatientSchedule implements Serializable {
    private static final long serialVersionUID = 1L;
    // 唯一标识id
    private String id;
    // 按周排班，则用0-6表示周日到周六；按月排班，则用1-31表示；按日期排班，则用具体日期表示
    private String workDay;
    // 按一天上下午及晚上排班，则用0，1，2分别表示上午、下午和晚上，若用具体时间排班，则用具体时间表示
    private String workPeriod;
    // 科室id
    private String deptId;
    // 租户id
    private String tenantId;
    // 排班类型：1按周排班，2按月排班，3按具体日期排班
    private String scheduleType;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 创建人id
    private String createAuthor;
    // 备注
    private String remark;
    // 操作流水
    private String updateAccept;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setWorkDay(String workDay) {
        this.workDay = workDay;
    }

    public String getWorkDay() {
        return workDay;
    }

    public void setWorkPeriod(String workPeriod) {
        this.workPeriod = workPeriod;
    }

    public String getWorkPeriod() {
        return workPeriod;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setScheduleType(String scheduleType) {
        this.scheduleType = scheduleType;
    }

    public String getScheduleType() {
        return scheduleType;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setCreateAuthor(String createAuthor) {
        this.createAuthor = createAuthor;
    }

    public String getCreateAuthor() {
        return createAuthor;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    public String getUpdateAccept() {
        return updateAccept;
    }

    public void setUpdateAccept(String updateAccept) {
        this.updateAccept = updateAccept;
    }

}
